import { Button } from 'antd';
import { useNavigate } from 'react-router-dom-v5-compat-dom';

export default function Index() {
    const navigate = useNavigate();
    return (
        <div>
            <div>market Index</div>
            <Button type='primary' onClick={() => navigate('/home/personalDetail')}>
                跳转详情
            </Button>
        </div>
    );
}
